package com.example.demo.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

@Data
@Entity
@Table(name="t_group")
public class GroupBean extends BaseBean {

    @Column(name = "userId", length = 200)
    private String userId;//组员id

    @Column(name = "groupName", length = 500)
    private String groupName;//群组名称

    @Column(name = "master", length = 10)
    private String master;//群主

}
